<template>
    <div class="jul-form">
        <slot></slot>
    </div>
</template>

<script>
export default {
    name: 'JulForm',
    props: {
        model: {
            type: Object,
            required: true
        },
        labelWidth: {
            type: String,
            default: '80px'
        }
    },
    // provide() 把这个组件传下去，任何子组件都可以拿到
    provide() {
        return {
            Form: this
        }
    }
}
</script>

<style>

</style>
